﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sahit.iSoilHotel.Domain.Seedwork;

namespace Sahit.iSoilHotel.Domain.MainBoundedContext.Tavern.Aggregates.CustomerAgg
{
    public class Customer:Entity
    {
        public virtual string IDCard { get; set; }
        public virtual string Name { get; set; }
        public virtual string Sex { get; set; }
        public virtual string Mobile { get; set; }
        public virtual CustomerType Type
        {
            get
            {
                return (CustomerType)this.TypeID;
            }
            set
            {
                this.TypeID = (int)value;
            }
        }
        public virtual int TypeID { get; set; }
    }
}
